package com.asimplefox.service;

import com.asimplefox.serurity.UserRoleDetails;
import com.asimplefox.entity.User;
import com.asimplefox.entity.vo.UserReVo;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author kloping
 * @since 2024-10-14
 */
public interface IUserService extends IService<User> {
    Object list(Integer pageSize, Integer pageNum);

    Object addUser(UserReVo userVo, HttpServletResponse rsp);

    Object modify(Integer id, MultipartFile avatar, String nickname, HttpServletResponse rsp, UserRoleDetails userDetails);

    Object listAdmins();
}
